<script language="JavaScript"> 
<!--
var tooltip_window = null;
function tooltip(mensaje, status)
{
if(document.forma.ett.checked)
{
if(status != 0)
{
if(tooltip != null) tooltip.focus();
else
{
var tooltip = open('', 'Tooltip', 'width='+ (mensaje.length * 18) + ',height=15');
tooltip_window = tooltip;
tooltip.document.open();
tooltip.document.writeln('<html><head><title>Janela ativada</title></head><body text="#00008B" BGCOLOR="#E8E8E8">');
tooltip.document.writeln('<CENTER><FONT FACE="Arial" size=2><B>' + mensaje + '</B></FONT></CENTER>');
tooltip.document.writeln('</body></html>');
tooltip.document.close();
}
}
else
{
if(tooltip_window != null) tooltip_window.close();
}
}
}
// --> 
</script>



depois do head


<form name=forma><input type= checkbox name=ett checked></form>
<A HREF="finaliza.asp" onMouseover="tooltip('Preo a ser colocado aqui', 1)" onMouseout="tooltip('', 0)">
<FONT SIZE="2" FACE="Arial">Janela ativada</FONT></A>

